package com.hzdl.house_mgr.service;

import com.github.pagehelper.PageInfo;
import com.hzdl.house_mgr.bean.BaseStat;
import com.hzdl.house_mgr.bean.User;

import java.util.List;

public interface UserService {
    PageInfo<User> findAll(User user,Integer page,Integer limit);
    int getCount(User user);
    int userAdd(User user);
    int userUpd(User userId);
    int del(Integer userId);
    int delSome(String[] split);
    List<BaseStat> getCountByAddress();
    int resetUserPwd(Integer userId);
    User chkLoginIdExits(String loginName);
    int findUserById(String idCard);
    int register(User user);
    //登录验证账号密码
    User chkLoginNameAndUserPwd(String loginName,String userPwd);

    User findUserByFace(String faceId);

    //即时通讯
    User findUserByUserId(Integer userId);
}
